package com.ywqf_api.dao;

import com.ywqf_api.dto.in.HouseTypeDto;
import com.ywqf_api.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseNeedDao {
    List<HouseType> houseType();

    List<RentHouse> rentHousePrice();

    List<SellHouse> sellHousePrice();

    List<HouseDirection> houseDirection();

    List<HouseArea> houseArea();

    List<HouseFitment> houseFitment();

    CustomerId findCustomerId(@Param("customerId") int customerId);

    public int addRentHouse(HouseTypeDto houseTypeDto);

    public int addBuyHouse(HouseTypeDto houseTypeDto);

    public int updateEvaluate(@Param("evalContent") String evalContent, @Param("maintainId") int maintainId, @Param("evalDegree") int evalDegree);

    public HouseKeepingCard findHousekeepingCard(@Param("cardId")int cardId);

    public CardTime findCardTime(@Param("cardId")int cardId);

    public String findRestTimes(@Param("cardId")int cardId);

    public List<Records> allRecords(@Param("cardId")int cardId);

    public List<CardList> findCardList(@Param("customerId") int customerId);

    public List<ManagerRole> findRoleList(@Param("communityId") int communityId);
}
